package com.guigu.www.service.impl;

import com.guigu.www.pojo.Dept;
import com.guigu.www.mapper.DeptMapper;
import com.guigu.www.service.DeptService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.xml.ws.Action;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author tj
 * @since 2021-03-17
 */
@Service
public class DeptServiceImpl extends ServiceImpl<DeptMapper, Dept> implements DeptService {
    @Autowired
    private DeptMapper deptMapper;
    @Override
    public List<Dept> queryDept() {
        return deptMapper.queryDept();
    }
}
